﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.Service;
using PersonalHealth.Data.Model;

namespace PersonalHealth.Data.IService
{
    public interface IDoctorService : IService<Doctor>
    {

        Doctor GetDoctorDetail(int id);

        IList<Doctor> GetDoctorDetailList<Tkey>(Func<Doctor, bool> expression,
          Func<Doctor, Tkey>[] orderby, bool[] isDescending, int pageIndex, int pageCount, out int pages, out int records);

        void SendHealthReport(int measureUserId,string title,string text);

        void SendMessage(int doctorId, int measureUserId, string title, string text);

        void SendTask(int measureUserId, string title, string text);
    }
}
